From: Paul Durrant Date: Mon, 9 May 2016 16:43:14 +0000 (+0100) Subject: tools: configure correct trace backend for QEMU X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1129 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=46ed6a814c2867260c0ebd9a7399466c801637be;p=xen.git tools: configure correct trace backend for QEMU Newer versions of the QEMU source have replaced the 'stderr' trace backend with 'log'. This patch adjusts the tools Makefile to test for the 'log' backend and specify it if it is available. Signed-off-by: Paul Durrant Acked-by: Wei Liu Release-acked-by: Wei Liu --- diff --git a/tools/Makefile b/tools/Makefile index 3f45fb9429..6440dec461 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -240,7 +240,9 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - if $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ + if $$source/scripts/tracetool.py --check-backend --backend log ; then \ + enable_trace_backend='--enable-trace-backend=log'; \ + elif $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ enable_trace_backend='--enable-trace-backend=stderr'; \ else \ enable_trace_backend='' ; \